package com.yejiali.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.yejiali.backend.entity.Mentions;
import com.yejiali.backend.entity.dto.CommentDTO;
import com.yejiali.backend.entity.vo.MentionsVO;
import com.yejiali.backend.response.Response;

import java.util.List;

/**
 * @author yejiali
 * @提醒表(Mentions)表服务接口
 * @since 2025-08-15 14:19:32
 */
public interface MentionsService extends IService<Mentions> {
    /**
     * @我的
     */
    Response<List<MentionsVO>> getMyMessage(Long userId);

    /**
     * 删除@我通知
     */
    Response<String> deleteMessage(Long mentionId);

    /**
     * 回复@我的评论
     */
    Response<String> replyComment(CommentDTO commentDTO) throws JsonProcessingException;

    /**
     * 新增我的@消息
     */
    Response<String> addAtMessage(CommentDTO commentDTO) throws JsonProcessingException;
}
